home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
EDITOR
/
9QTIPS.ARJ
/
TECH5.MSG
< prev
next >
Wrap
Text File
|
1992-08-05
|
4KB
|
82 lines
A QEdit Tip from the SemWare Technical Support Staff
.. Types of Block Marking and Unmarking ..
A block is a portion of a text file which has been defined by
using QEdit's Block marking commands. QEdit has a rich set of
Block commands. These commands mark Blocks by lines, columns,
and characters.
To define a block, you must first "mark" or outline a Block.
There are four Block types in QEdit: line, column, inclusive
character blocks, and non-inclusive character blocks. The one
you choose will depend on the editing situation and what you
feel most comfortable using. Below is a description of the
commands along with our default key combinations.
MarkLine <Alt L> - will mark only complete lines and no portions
of lines. To use this command, place the cursor anywhere on
the first line of the text you want to mark and press <Alt
L>. Now move the cursor to the last line of text you wish
to be marked and press <Alt L> again.
DropAnchor <Alt A> - will mark a Block one character at a time.
The Block will contain a stream of characters and can span
over multiple lines. To use this command, place the cursor
over the first character of text you wish to mark and press
<Alt A>. Now move the cursor toward the end of text to be
marked. (Notice that the Block "follows" the cursor
position.) Once the cursor is placed over the last
character to be marked, press <Alt A> again.
MarkCharacter - will work just like DropAnchor except that while
the Block is being marked, the cursor is _not_ included
within the Block. MarkCharacter is not assigned to a
default keystroke.
MarkColumn <Alt K> - will mark one or more columns of text. To
use this command, place the cursor over the upper left-hand
character of the text you wish to mark and press <Alt K>.
Now move the cursor to the right and/or downward toward the
end of text to be marked. (Notice that the Block "follows"
the cursor position.) Once the cursor is placed over the
lower right-hand character of the Block, press <Alt K>
again.
MarkBlockBegin <Ctrl K><B> and MarkBlockEnd <Ctrl K><K> - will
mark one character at a time. These commands do _not_ show
the block until MarkBlockEnd is executed. To use this
command, place the cursor over the first character of the
text you wish to mark and press <Ctrl K><B>. Now position
the cursor one character past the end of the text that is to
be marked and press <Ctrl K><K>.
MarkWord <Ctrl K><T> - will mark a single word. To use this
command, place the cursor at the first character of the word
you wish to mark and press <Ctrl K><T>. (If no word is at the
current cursor position, then no action is taken.)
UnMarkBlock <Alt U> - will cause the currently marked Block to
be unmarked.
A few side notes:
~~~~~~~~~~~~~~~~
* QEdit allows you to mark one Block at a time.
* If you mix Block types, QEdit will mark the Block according
to the last command entered.
* MarkCharacter is provided as a replacement for the DropAnchor
command. If you want the cursor position included in the
character Blocks, then continue to use DropAnchor; otherwise,
replace the DropAnchor command with MarkCharacter in the
QCONFIG.DAT file.
* When using MarkLine, MarkCharacter, MarkColumn, and
DropAnchor commands, it is not necessary to mark the end of
the Block. QEdit will assume the end of the Block to be the
current cursor position and/or line depending on the command
being used. Marking the end of the Block is only necessary
when moving or copying text within the same file.